package org.lilred.nzbberry.models;

import java.util.Vector;

import org.lilred.nzbberry.controllers.QueueSlotController;

public class QueueModel {
	private Vector slots = new Vector();
	public String timeleft = "";
	public String kbps = "";
	public boolean paused;
	public String uptime;
	
	public int size() {
		return slots.size();
	}
	
	public QueueSlotController getSlot(int i) {
		return (QueueSlotController) slots.elementAt(i);
	}
	
	public void addSlot(QueueSlotController c) {
		slots.addElement(c);
	}

	public void deleteSlot(QueueSlotController c) {
		slots.removeElement(c);
	}
}
